package com.hzf.material.dao.mapper;

import com.hzf.material.dao.model.MaterialArea;
import com.hzf.material.dao.model.MaterialAreaExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MaterialAreaMapper {
    long countByExample(MaterialAreaExample example);

    int deleteByExample(MaterialAreaExample example);

    int deleteByPrimaryKey(Integer marketAreaId);

    int insert(MaterialArea record);

    int insertSelective(MaterialArea record);

    List<MaterialArea> selectByExample(MaterialAreaExample example);

    MaterialArea selectByPrimaryKey(Integer marketAreaId);

    int updateByExampleSelective(@Param("record") MaterialArea record, @Param("example") MaterialAreaExample example);

    int updateByExample(@Param("record") MaterialArea record, @Param("example") MaterialAreaExample example);

    int updateByPrimaryKeySelective(MaterialArea record);

    int updateByPrimaryKey(MaterialArea record);
}